import { system } from "@/router/enums";
const Layout = () => import("@/layout/index.vue");
export default {
  path: "/system",
  meta: {
    icon: "IF-icon-shezhi",
    title: "系统管理",
    rank: system
  },
  component: Layout,
  children: [
    {
      path: "/role",
      redirect: "/system/role/pageIndex",
      meta: {
        icon: "IF-icon-yewuquanxian",
        title: "权限管理"
      },
      keepAlive: true,
      children: [
        {
          path: "/system/role/pageIndex",
          component: () => import("@/views/system/page/index.vue"),
          name: "index",
          meta: {
            title: "菜单管理",
            showParent: true,
            icon: "IF-icon-zidingyiyemian"
          },
          keepAlive: true // 缓存页面
        }
      ]
    }
  ]
} as unknown as RouteConfigsTable;
